Fox's Git Mirrors
Node / matvik22000 / rns-over-icmp.git rns://e35de29a61974cd952fde3fe9c8500d5/matvik22000/rns-over-icmp.git
🗀 Files • ☸ Work (0) • 🖹 Commits (7) • ⑃ Branches (1) • ⌆ Tags (0) • ♥ Thanks (0)
>rns-over-icmp
This small script allows using ICMP PING packets as a transport layer for Reticulum.
It consists of two parts: a client and a server. The server must have a public IP address (or any other way for the client to ping it). The client only needs a computer.
One server can serve any number of clients.
Setup
1. Install dependencies:
T282828
pip install scapy
2. Grant Python access to low-level sockets:
T282828
sudo setcap cap_net_raw,cap_net_admin+eip /path/to/your/bin/python
3. Add a T383838PipeInterface to your T383838~/.reticulum/config file on both the server and the client.
Client config
T282828
[[ICMP Interface]]
type = PipeInterface
enabled = True
command = python3 /path/to/your/icmp_tunnel.py --dst <server-ip> client
# or you can use my public server at rns.obomba.tech
# Optional: delay before respawn in seconds
respawn_delay = 2
name = ICMP Interface
Server config
T282828
[[ICMP Interface]]
type = PipeInterface
enabled = True
command = python3 /root/icmp/icmp_tunnel.py server --iface <eth0 or other interface name>
# Optional: delay before respawn in seconds
respawn_delay = 2
name = ICMP Interface
4. Start the Reticulum daemon:
T282828
rnsd
Served by rngit 1.5.0 - Generated in 0.06s